OSTYPE := $(shell uname -s)

SRC_FILES = HandTracker.cpp PointDrawer.cpp signal_catch.cpp graphcut.cpp

CFG = Release

ifeq ("$(CFG)", "Debug")
    DEFINES += DEBUG
endif

BIN_DIR = Bin

INC_DIRS += /usr/include/ni /usr/include/nite

EXE_NAME = HandTracker

ifeq ("$(OSTYPE)","Darwin")
	LDFLAGS += -framework OpenGL -framework GLUT
else
	USED_LIBS += glut
endif

USED_LIBS += OpenNI XnVNite_1_3_1

include /usr/include/ni/CommonMakefile
